require(['monitor'], function () {
    var $view = $('#generatorMonitorClass');
    $('#monitor').monitor({
        canId: '17',
        callback: function (data) {
            $view.setViewData(data, 'id');
        },
        clearData: function () {
            $view.setViewData({}, 'id');
        }
    });
});